/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WebExample;

import java.io.File;

/**
 * @author sanjivkawa
 */
public class MakeDownloadDirs {
    /**
     * Function: void createDirs().
     * <p/>
     * Simply enough, this function creates the storage directories for the HTML and JSON files.
     * It is called on program start up.
     */
    public void createDirs() {
        String makeDir1 = "CrawlerStorage/HTMLPages";
        //String makeDir2 = "CrawlerStorage/JSON";
        boolean makeDirs = (new File(makeDir1)).mkdirs();
        //makeDirs = (new File(makeDir2)).mkdirs();
    }
}
